namespace nDeveloper.VSS.DifferenceEngine
{
    using System;

    public class DiffList_CharData : IDiffList
    {
        private char[] _charList;

        public DiffList_CharData(string charData)
        {
            this._charList = charData.ToCharArray();
        }

        public int Count()
        {
            return this._charList.Length;
        }

        public IComparable GetByIndex(int index)
        {
            return this._charList[index];
        }
    }
}

